<% imgs = {} %>
<% Dir.glob("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/**/*").each do |ff| %>
  <% img_path = ff.gsub("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/", "") %>
  <% imgs[img_path] = asset_path(img_path) if img_path.match(/\.png$/) || img_path.match(/\.jpg$/) || img_path.match(/\.jpeg$/) || img_path.match(/\.gif$/) %>
<% end %>

appImages = <%= imgs.to_json %>

# console.log "appImages", appImages

@assetPath = (path) ->
  # "/assets/angular/app/views/#{path}.html"
  appImages["#{path}"]


@rootPath = ->
  # if App.Environment == "production"
  if window.location.hostname == "berlinmagic.github.io"
    return "/magic_stylez/"
  else
    return "/"


@glyphicons = ["asterisk", "plus", "euro", "minus", "cloud", "envelope", "pencil", "glass", "music", "search", "heart", "star", "star-empty", "user", "film", "th-large", "th", "th-list", "ok", "remove", "zoom-in", "zoom-out", "off", "signal", "cog", "trash", "home", "file", "time", "road", "download-alt", "download", "upload", "inbox", "play-circle", "repeat", "refresh", "list-alt", "lock", "flag", "headphones", "volume-off", "volume-down", "volume-up", "qrcode", "barcode", "tag", "tags", "book", "bookmark", "print", "camera", "font", "bold", "italic", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "list", "indent-left", "indent-right", "facetime-video", "picture", "map-marker", "adjust", "tint", "edit", "share", "check", "move", "step-backward", "fast-backward", "backward", "play", "pause", "stop", "forward", "fast-forward", "step-forward", "eject", "chevron-left", "chevron-right", "plus-sign", "minus-sign", "remove-sign", "ok-sign", "question-sign", "info-sign", "screenshot", "remove-circle", "ok-circle", "ban-circle", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "share-alt", "resize-full", "resize-small", "exclamation-sign", "gift", "leaf", "fire", "eye-open", "eye-close", "warning-sign", "plane", "calendar", "random", "comment", "magnet", "chevron-up", "chevron-down", "retweet", "shopping-cart", "folder-close", "folder-open", "resize-vertical", "resize-horizontal", "hdd", "bullhorn", "bell", "certificate", "thumbs-up", "thumbs-down", "hand-right", "hand-left", "hand-up", "hand-down", "circle-arrow-right", "circle-arrow-left", "circle-arrow-up", "circle-arrow-down", "globe", "wrench", "tasks", "filter", "briefcase", "fullscreen", "dashboard", "paperclip", "heart-empty", "link", "phone", "pushpin", "usd", "gbp", "sort", "sort-by-alphabet", "sort-by-alphabet-alt", "sort-by-order", "sort-by-order-alt", "sort-by-attributes", "sort-by-attributes-alt", "unchecked", "expand", "collapse-down", "collapse-up", "log-in", "flash", "log-out", "new-window", "record", "save", "open", "saved", "import", "export", "send", "floppy-disk", "floppy-saved", "floppy-remove", "floppy-save", "floppy-open", "credit-card", "transfer", "cutlery", "header", "compressed", "earphone", "phone-alt", "tower", "stats", "sd-video", "hd-video", "subtitles", "sound-stereo", "sound-dolby", "sound-5-1", "sound-6-1", "sound-7-1", "copyright-mark", "registration-mark", "cloud-download", "cloud-upload", "tree-conifer", "tree-deciduous"]

@icomoons = ["home", "home2", "home3", "office", "newspaper", "pencil", "pencil2", "quill", "pen", "blog", "droplet", "paint-format", "image", "image2", "images", "camera", "music", "headphones", "play", "film", "camera2", "dice", "pacman", "spades", "clubs", "diamonds", "pawn", "bullhorn", "connection", "podcast", "feed", "book", "books", "library", "file", "profile", "file2", "file3", "file4", "copy", "copy2", "copy3", "paste", "paste2", "paste3", "stack", "folder", "folder-open", "tag", "tags", "barcode", "qrcode", "ticket", "cart", "cart2", "cart3", "coin", "credit", "calculate", "support", "phone", "phone-hang-up", "address-book", "notebook", "envelope", "pushpin", "location", "location2", "compass", "map", "map2", "history", "clock", "clock2", "alarm", "alarm2", "bell", "stopwatch", "calendar", "calendar2", "print", "keyboard", "screen", "laptop", "mobile", "mobile2", "tablet", "tv", "cabinet", "drawer", "drawer2", "drawer3", "box-add", "box-remove", "download", "upload", "disk", "storage", "undo", "redo", "flip", "flip2", "undo2", "redo2", "forward", "reply", "bubble", "bubbles", "bubbles2", "bubble2", "bubbles3", "bubbles4", "user", "users", "user2", "users2", "user3", "user4", "quotes-left", "busy", "spinner", "spinner2", "spinner3", "spinner4", "spinner5", "spinner6", "binoculars", "search", "zoomin", "zoomout", "expand", "contract", "expand2", "contract2", "key", "key2", "lock", "lock2", "unlocked", "wrench", "settings", "equalizer", "cog", "cogs", "cog2", "hammer", "wand", "aid", "bug", "pie", "stats", "bars", "bars2", "gift", "trophy", "glass", "mug", "food", "leaf", "rocket", "meter", "meter2", "dashboard", "hammer2", "fire", "lab", "magnet", "remove", "remove2", "briefcase", "airplane", "truck", "road", "accessibility", "target", "shield", "lightning", "switch", "powercord", "signup", "list", "list2", "numbered-list", "menu", "menu2", "tree", "cloud", "cloud-download", "cloud-upload", "download2", "upload2", "download3", "upload3", "globe", "earth", "link", "flag", "attachment", "eye", "eye-blocked", "eye2", "bookmark", "bookmarks", "brightness-medium", "brightness-contrast", "contrast", "star", "star2", "star3", "heart", "heart2", "heart-broken", "thumbs-up", "thumbs-up2", "happy", "happy2", "smiley", "smiley2", "tongue", "tongue2", "sad", "sad2", "wink", "wink2", "grin", "grin2", "cool", "cool2", "angry", "angry2", "evil", "evil2", "shocked", "shocked2", "confused", "confused2", "neutral", "neutral2", "wondering", "wondering2", "point-up", "point-right", "point-down", "point-left", "warning", "notification", "question", "info", "info2", "blocked", "cancel-circle", "checkmark-circle", "spam", "close", "checkmark", "checkmark2", "spell-check", "minus", "plus", "enter", "exit", "play2", "pause", "stop", "backward", "forward2", "play3", "pause2", "stop2", "backward2", "forward3", "first", "last", "previous", "next", "eject", "volume-high", "volume-medium", "volume-low", "volume-mute", "volume-mute2", "volume-increase", "volume-decrease", "loop", "loop2", "loop3", "shuffle", "arrow-up-left", "arrow-up", "arrow-up-right", "arrow-right", "arrow-down-right", "arrow-down", "arrow-down-left", "arrow-left", "arrow-up-left2", "arrow-up2", "arrow-up-right2", "arrow-right2", "arrow-down-right2", "arrow-down2", "arrow-down-left2", "arrow-left2", "arrow-up-left3", "arrow-up3", "arrow-up-right3", "arrow-right3", "arrow-down-right3", "arrow-down3", "arrow-down-left3", "arrow-left3", "tab", "checkbox-checked", "checkbox-unchecked", "checkbox-partial", "radio-checked", "radio-unchecked", "crop", "scissors", "filter", "filter2", "font", "text-height", "text-width", "bold", "underline", "italic", "strikethrough", "omega", "sigma", "table", "table2", "insert-template", "pilcrow", "lefttoright", "righttoleft", "paragraph-left", "paragraph-center", "paragraph-right", "paragraph-justify", "paragraph-left2", "paragraph-center2", "paragraph-right2", "paragraph-justify2", "indent-increase", "indent-decrease", "newtab", "embed", "code", "console", "share", "mail", "mail2", "mail3", "mail4", "google", "googleplus", "googleplus2", "googleplus3", "googleplus4", "google-drive", "facebook", "facebook2", "facebook3", "instagram", "twitter", "twitter2", "twitter3", "feed2", "feed3", "feed4", "youtube", "youtube2", "vimeo", "vimeo2", "vimeo3", "lanyrd", "flickr", "flickr2", "flickr3", "flickr4", "picassa", "picassa2", "dribbble", "dribbble2", "dribbble3", "forrst", "forrst2", "deviantart", "deviantart2", "steam", "steam2", "github", "github2", "github3", "github4", "github5", "wordpress", "wordpress2", "joomla", "blogger", "blogger2", "tumblr", "tumblr2", "yahoo", "tux", "apple", "finder", "android", "windows", "windows8", "soundcloud", "soundcloud2", "skype", "reddit", "linkedin", "lastfm", "lastfm2", "delicious", "stumbleupon", "stumbleupon2", "stackoverflow", "pinterest", "pinterest2", "xing", "xing2", "flattr", "foursquare", "foursquare2", "paypal", "paypal2", "paypal3", "yelp", "libreoffice", "file-pdf", "file-openoffice", "file-word", "file-excel", "file-zip", "file-powerpoint", "file-xml", "file-css", "html5", "html52", "css3", "chrome", "firefox", "IE", "opera", "safari", "IcoMoon"]

@magicons = ["close-round", "ok-round", "minus-round", "plus-round", "ban-circle", "attention-round", "info-round", "question-round", "arrow-up", "arrow-right", "arrow-down", "arrow-left", "fat-arrow-up", "fat-arrow-right", "fat-arrow-down", "fat-arrow-left", "chevron-round-up", "chevron-round-right", "chevron-round-down", "chevron-round-left", "caret-up", "caret-right", "caret-down", "caret-left", "hand-up", "hand-right", "hand-down", "hand-left", "hand-fuck", "hand-rock-back", "hand-rock", "thumb-up", "thumb-right", "thumb-down", "thumb-left", "handflat-left", "handflat-both", "handflat-right", "heart-round", "heart-empty", "comment", "comment-round", "comment-empty", "comments-round", "comments-empty", "bookmark", "bookmark-empty", "envelope", "envelope-alt", "envelope-open", "envelope-open-alt", "envelope-filled", "envelope-filled-alt", "envelope-inlay-open", "envelope-inlay-open-alt", "envelope-inlay-filled", "envelope-inlay-filled-alt", "tag", "tags", "star-round", "star-empty", "star-half-round", "star-half-empty", "user-male-round", "user-female-round", "user-group-round", "user-group-alt", "user-group-big", "search-round", "zoom-in", "zoom-out", "lock-round", "unlock-round", "wrench-round", "cog-round", "cog-alt", "cogs", "trash-round", "key", "key-alt", "pushpin-round", "map-marker-round", "time-round", "time-alt", "move", "resize-horizontal", "resize-vertical", "retweet", "reload", "random", "refresh", "adjust", "asterisk", "screenshot", "target-round", "volume-one", "volume-two", "volume-three", "sort-round", "sort-round-down", "sort-round-up", "signin", "signout", "sitemap", "signal", "download", "upload", "facebook", "twitter", "github", "github-alt", "pinterest", "linkedin", "google-plus", "flickr", "picasa", "rss", "firefox", "ie", "opera", "chrome", "safari", "phone", "phone-pickup", "phone-hangup", "pencil-round", "pencil-alt", "ballpen", "briefcase", "briefcase-alt", "inbox-round", "dashboard", "folder-close", "folder-open", "folder-alt", "book", "book-marked", "book-marked-alt", "address-book", "address-book-marked", "address-book-marked-alt", "book-open-round", "book-open-alt", "book-open-filled", "tasks", "reorder", "bar-chart-round", "clipboard-tasks", "clipboard-check", "clipboard-tasks-edge", "clipboard-check-edge", "pile-list-marked", "pile-check-marked-edge", "ringbinder-month", "ringbinder-day", "ringbinder-list", "ringbinder-month-edge", "ringbinder-day-edge", "ringbinder-list-edge", "picture-round", "picture-alt", "pictures", "external-link", "share", "edit", "check", "check-empty", "credit-card", "qrcode", "shopping-cart", "shopping-cart-alt", "shopping-cart-in", "shopping-cart-in-alt", "money", "money-euro-round", "money-dollar", "barcode", "barcode-alt", "globe-round", "globe-alt", "home", "truck", "plane", "road", "compass-round", "file", "files", "file-text", "file-alt", "file-edge", "file-black", "cut", "paste", "save", "paper-clip", "link", "link-alt", "undo", "repeat", "undo-alt", "repeat-alt", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "indent-left", "indent-right", "font", "bold", "italic", "strikethrough", "underline", "columns", "table", "th-large", "th", "th-list", "list-round", "list-ol", "list-ul", "list-alt", "staple", "staple-alt", "music", "power-round", "facetime-video", "film", "bullhorn", "camera-round", "camera-retro", "print-round", "print-alt", "hdd", "headphones", "play", "play-circle", "pause", "stop", "backward", "forward", "fast-backward", "fast-forward", "step-backward", "step-forward", "eject", "fullscreen", "resize-full", "resize-small", "trophy", "umbrella-round", "gift", "flag", "flag-alt", "certificate", "glass", "tint", "tints", "leaf", "legal", "cloud", "beaker", "lemon", "magic", "magic-alt", "bolt", "bolt-alt", "magnet", "thermometer", "bell", "filter", "hammer", "plug-round", "shirt", "steering-wheel", "triangle", "hands-up", "clock", "chart", "chart-open", "vitro", "vitro-bubble", "vitro-bubbles", "moon-round", "moon-empty", "moon-full", "sun-round", "sun-alt", "micro-round", "equalizer-round", "knots", "crop", "lectern", "html", "graph", "graph-alt", "transmit", "graduation-hat", "star-alt-round", "cog-more", "close-sign-round", "ok-sign-round", "plus-sign-round", "minus-sign-round", "attention-sign-round", "question-sign-round", "info-sign-round", "caret-up-sign", "caret-right-sign", "caret-down-sign", "caret-left-sign", "edit-sign", "user-minus", "user-plus", "user-unknown", "user-ok", "hand-high5", "hand-high5-back", "hand-shake", "hand-card", "compass", "globe", "inbox-empty", "inbox", "task-list", "user", "mail-empty", "mail", "cog", "chevron-cut-right", "chevron-cut-down", "chevron-cut-left", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "lock", "unlock", "search", "visible", "unvisible", "pencil", "trash", "sort-down", "sort-up", "sort", "plus-sign", "minus-sign","ok-sign","close-sign","question-sign","info-sign","attention-sign","plus","minus","ok","close","question","info","attention","work", "private","picture","pushpin","heart","map-marker","user-group","time","star-alt","book-open","calendar", "calendar-invert", "target","umbrella","equalizer","list","star","star-half","money-euro","tag-alt", "print","message", "comment","comments","camera","description", "bar-chart","wrench","user-male","user-female","user-male-alt", "user-female-alt", "company", "sun","moon","inside", "outside", "wlan", "beamer", "micro","plug","internet", "power","wheelchair", "smoking-sign", "smoking", "no-smoking", "parking-sign", "parking-meter", "elevator", "toilette", "coffee", "water", "pizza", "burger", "softdrink", "fastfood", "catering", "wine", "plates", "kitchen", "layout-round-table", "layout-classroom", "layout-banquet", "layout-theater", "layout-u-table", "layout-workspace"]

@olicons = ["market", "projects-empty", "projects-full", "tasks-empty", "tasks-full", "settings", "overview", "contacts", "message-empty", "message-full", "basket-empty", "basket-full", "bell", "notify", "about-me", "portfolio", "portfolio-alt", "general-informations", "contact-data", "career", "skills", "view-list", "view-tile", "view-cards", "view-map", "state-active", "state-inactive", "edit", "view-map-2", "search", "zoom-in", "zoom-out", "comment", "share", "like", "lock", "lock-open", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "chevron-2-up", "chevron-2-right", "chevron-2-down", "chevron-2-left", "plus", "minus", "ok", "close", "plus-sign", "minus-sign", "ok-sign", "close-sign", "show-sb", "hide-sb", "filter", "preview", "hide-filter", "female", "male", "sex", "sort-down", "sort-up", "sort", "product", "object", "question-answer", "secure", "analytics", "inquiry", "orders", "environmentally-friendly", "waterproof", "delivery", "bright", "dark", "indoor", "outdoor", "accessible", "smoker", "non-smoker", "parking", "parking-meter", "elevator", "max-people", "wlan", "beamer", "microphone", "sockets", "internet", "electricity", "coffee", "water", "pizza", "burger", "drinks", "fast-food", "waiter", "wine", "dishes", "stove", "conference", "classroom", "banquet", "theatre", "u-shape", "workspace", "men", "woman", "company", "store", "bar", "restaurant", "men-investor", "men-work", "men-business", "men-normal", "men-business2", "men-dev", "men-html", "plus-contact", "plus-picture", "plus-company", "plus-company-contact", "ruby", "html5", "facebook", "facebook-block", "google", "google-block", "google-cut", "google-cut-block", "twitter", "twitter-block", "linkedin", "linkedin-block", "xing", "xing-block", "qr-code", "barcode", "cash", "gift", "auge", "inventar", "analytics-alt", "settings-alt", "slidebar", "info-circle", "product-circle", "pos-circle", "user", "calendar", "glass", "trash", "resize", "product-alt", "circle-plus", "circle-times", "circle-minus", "circle-ok", "auge-alt", "inventar-alt", "analytics-alt", "euro-circle", "reports", "tasks", "vcard", "catalog", "flyer", "euro"]


@bettericons = ["eye", "eye-blind", "lightbulb", "bell", "alarm", "watch", "clock", "clock2", "sandglas", "briefcase", "bookmark", "cap-academic", "support", "camera", "camera-front", "camera-selfi", "camera-plus", "analytics-bars", "analytics-bars2", "analytics-pie", "analytics", "app-icon-badge", "arrow1-up", "arrow1-down", "arrow1-right", "arrow1-left", "arrow1-up-right", "arrow1-down-right", "arrow1-down-left", "arrow1-up-left", "arrow2-up", "arrow2-down", "arrow2-right", "arrow2-left", "arrow2-up-right", "arrow2-down-right", "arrow2-down-left", "arrow2-up-left", "arrow3-up", "arrow3-down", "arrow3-right", "arrow3-left", "plus", "minus", "close", "checked", "information", "exclamation", "question", "arrow1-up-half", "arrow1-down-half", "arrow1-right-half", "arrow1-left-half", "arrow1-up-right-half", "arrow1-down-right-half", "arrow1-down-left-half", "arrow1-up-left-half", "arrow2-up-half", "arrow2-down-half", "arrow2-right-half", "arrow2-left-half", "arrow2-up-right-half", "arrow2-down-right-half", "arrow2-down-left-half", "arrow2-up-left-half", "arrow3-up-half", "arrow3-down-half", "arrow3-right-half", "arrow3-left-half", "plus-half", "minus-half", "checked-half", "close-half", "information-half", "exclamation-half", "question-half", "arrow1-up-circle", "arrow1-down-circle", "arrow1-right-circle", "arrow1-left-circle", "arrow1-up-right-circle", "arrow1-down-right-circle", "arrow1-down-left-circle", "arrow1-up-left-circle", "arrow2-up-circle", "arrow2-down-circle", "arrow2-right-circle", "arrow2-left-circle", "arrow2-up-right-circle", "arrow2-down-right-circle", "arrow2-down-left-circle", "arrow2-up-left-circle", "arrow3-up-circle", "arrow3-down-circle", "arrow3-right-circle", "arrow3-left-circle", "plus-circle", "minus-circle", "close-circle", "checked-circle", "information-circle", "exclamation-circle", "question-circle", "calender", "calender-day", "calender-week", "calender-month", "calender-list", "calender-month-checked", "calender-checked", "at-circle", "at", "battery", "battery-low", "battery-half", "battery-full", "book", "book2-bookmark", "book2", "book3-bookmark", "book3", "calculator", "calculator2", "calculator3", "phone", "call-end", "call-answer", "phone2", "call-end-circle", "call-answer-circle", "catalog2", "catalog", "change", "change2", "change3", "cloud-checked", "cloud-lock", "cloud-sync", "cloud", "house", "company-office", "company-producer", "company-shop", "envelope2", "envelope-open", "envelope", "email-send", "euro", "exit-in", "exit-out", "exit", "exit2", "figure-run-left", "figure-run-right", "file-ai", "file-cdr", "file-eps", "file-image", "file-jpg", "file-pdf", "file-psd", "file-svg", "folder", "flag", "label", "gift", "earth", "globe", "globe2", "hand-inside-down", "hand-inside-fuck", "hand-inside-fuck2", "hand-inside-left", "hand-inside-right", "hand-inside-rock", "hand-inside-rock2", "hand-inside-up", "hand-ouside-fuck", "hand-ouside-fuck2", "hearth", "identification", "layers", "link-in", "link-out", "location", "location-off", "map", "lock", "lock-open", "lock-open2", "log-out", "log-out2", "loop", "loop2", "loop3", "message", "messages", "message-photo", "message-checked", "comment", "comments", "money-euro", "money-dollar", "more-horizontal-small", "more-vertical-small", "more-horizontal-large", "more-vertical-large", "on-off", "paper", "papers", "paper-checked", "paper-text", "paper-men", "paper-men2", "paper-question", "paper-star", "paper-sync", "paper-euro", "paperclip", "paperclip2", "paperplane", "paperplane2", "pencil", "pencil-star", "pencil-magic", "pencil-plus", "pin", "pin2", "picture", "picture-plus", "flash-on", "flash-off", "printer", "laptop", "printer2", "smartphone", "mouse", "product-highlights", "product-page", "product-page2", "product-pages", "product", "product2", "user", "user-plus", "user-minus", "user-arrow", "user-king", "user-basecap", "user-student", "user-team", "user-group", "user-chef", "product3", "product4", "resize-full", "resize-small", "resize-full2", "resize-small2", "search", "zoom-in", "zoom-out", "select-up", "select-down", "select-duo", "select-up-half", "select-down-half", "select-duo-half", "select-up-circle", "select-down-circle", "select-duo-circle", "stacker-in", "stacker", "stacker-full", "stacker-out", "settings-edit", "settings-edit2", "settings-edit3", "settings", "sex-female", "sex-male", "share", "share2", "shield", "shield-men", "shield-checked", "shield-star", "shield-lock", "star", "star-half", "star-full", "sync", "sync2", "text-left", "text-block", "text-right", "text-edit", "text-list-plus", "text-list", "text-left-small", "text", "timer", "trash", "umbrella", "van-delivery", "view-list-circle", "view-block-circle", "view-block-circle2", "view-list-square", "view-block-square", "wrench", "wrench2", "social-facebook-circle-half", "social-google-circle-half", "social-google2-circle-half", "social-instagram-circle-half", "social-github-circle-half", "social-linkedin-circle-half", "social-xing-circle-half", "social-mail-circle-half", "social-paypal-circle-half", "social-pinterest-circle-half", "social-pocket-circle-half", "social-spotify-circle-half", "social-tumblr-circle-half", "social-twitter-circle-half", "social-youtube-circle-half", "social-facebook-circle", "social-google-circle", "social-google2-circle", "social-instagram-circle", "social-github-circle", "social-linkedin-circle", "social-xing-circle", "social-mail-circle", "social-paypal-circle", "social-pinterest-circle", "social-pocket-circle", "social-spotify-circle", "social-tumblr-circle", "social-twitter-circle", "social-youtube-circle"]

